//
//  AXFLocationManager.m
//  AXFEightGroup
//
//  Created by Haozhong Chen on 2016/12/24.
//  Copyright © 2016年 ya. All rights reserved.
//

#import "AXFLocationManager.h"
#import "AXFDataModel.h"
@interface AXFLocationManager ()

@end


@implementation AXFLocationManager

static AXFLocationManager*_manager;
+(instancetype)sharedInstance
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _manager=[[AXFLocationManager alloc]init];
        [_ModelMgr myAdress:^(NSArray<AXFDataModel *> * _Nonnull myAdressModels) {
            _manager.dataArray=myAdressModels.mutableCopy;}];
        _manager.placemmarkArray=[NSMutableArray array];
    });
    return _manager;
}
@end
